@model List<ToDoListWeb.ViewModels.MattersViewModel>
    @section head{
    <link rel="stylesheet" href="~/css/pastdueMatters.css" />
    }
    @{
        ViewData["Title"] = "ShowPastdueMatters";
    }

    <div class="location-center float-left">
        <ul class="roll-x-y float-left style-none">
            <li class="at-center"><b>过期事项</b></li>
            @foreach (var matter in Model)
            {
                @if (matter.IsPastdue)
                {
                    <li>
                        <a class="float-left medium-blue" href="/Matter/CompileMatterView?matterId=@matter.MatterId">
                            <div title="@matter.MatterContent" class="float-left overflow-hidden content">@matter.MatterContent</div>
                            <div title="@matter.CreatTime" class="float-left overflow-hidden creat-time">@matter.CreatTime</div>
                        </a>
                        <a href="/Matter/DeleteMatter?inventoryId=@matter.InventoryId&matterId=@matter.MatterId" onclick='return confirm("确认删除")'><img src="~/images/删除-叉.png" /></a>
                    </li>
                }
            }
        </ul>
    </div>
